package com.user.mapper;

import com.user.model.Invoice;

import java.util.List;

public interface InvoiceMapper {

  Long insert(Invoice invoice);

  int deleteById(Long id);

  int update(Invoice invoice);

  List<Invoice> queryByCondition(Invoice invoice);

  Invoice getById(Long id);

}